<?php	
	Session::init();
	$logged = Session::get('loggedIn'); 
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="<?php echo URL; ?>app/public/bootstrap/css/bootstrap.min.css" media="screen">
<title><?php echo $this->title; ?></title>
</head>

<body>
<div class="navbar">
<div class="navbar-inner">
	<a class="brand" href="<?php echo URL; ?>index">SH3</a>
	<ul class="nav">
    <?php if(!$logged) { ?>		
		<li><a href="<?php echo URL; ?>login">Entrar</a></li>
     <?php } else { ?>
    	<li><a href="<?php echo URL; ?>admin/sair">Sair</a></li>
      <?php } ?>  		
		<li><a href="<?php echo URL; ?>contato">Contato</a></li>
	</ul>
</div>
</div> 
<div class="container">      